﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SelfTest1
{
    public delegate void TestDelegate(string par);

    class Program
    {
        public static void Func(string x)
        {
            Console.WriteLine(x);
        }

        static void Main(string[] args)
        {
            TestDelegate d = new TestDelegate(Func);
            d("mamamia");
            d("iii tatke");
        }
    }
}
